package com.ambow.Entity;

import java.io.Serializable;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

import javax.persistence.*;

@Entity
@Table
public class Level extends ID implements Serializable{
  private String name;
  private String remark;
  @OneToMany(targetEntity=Bclass.class,mappedBy="level")
  private List<Bclass> bclass;
  @OneToMany(mappedBy="level")
  private Set<PackageBook> packageBooks=new HashSet<PackageBook>();//套书
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public List<Bclass> getBclass() {
		return bclass;
	}
	public void setBclass(List<Bclass> bclass) {
		this.bclass = bclass;
	}
	public Set<PackageBook> getPackageBooks() {
		return packageBooks;
	}
	public void setPackageBooks(Set<PackageBook> packageBooks) {
		this.packageBooks = packageBooks;
	}
	  
  
}
